/**
 * 2025/01/01 - 2025/12/31
 */
package com.snail.server.database.engine.datasource.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.snail.server.database.engine.datasource.enums.DataSourceTypeEnum;
import com.snail.starter.db.entity.BaseTenantLogicEntity;
import com.snail.starter.db.enums.EnableOrDisEnableEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 *
 * @author zgadmin
 * @date 2025/8/28 17:26
 *
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("sn_data_source")
public class DataSource extends BaseTenantLogicEntity {

    private Long dataSourceId;

    private String appKey;

    private String name;

    private String url;

    private String username;

    private String password;

    private String pool;

    private DataSourceTypeEnum type;

    private EnableOrDisEnableEnum status;

}